<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: Dell
  Date: 2022/4/16
  Time: 19:44
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>详细信息页面</title>
</head>
<body>
用户${param.name}
<c:if test="${param.sex == '男' }">
    先生
</c:if>
<c:if test="${param.sex == '女' }">
    女士
</c:if>
您好！<br/>
<form action="englishPage.jsp">
    <c:set var="textInputNumber" value="${param.textInputNumber}" scope="session"/>
    <c:forEach var="i" begin="1" end="${param.textInputNumber}" step="1">
        文本框${i}标题：<input type="text" name="textName${i}"/><br/>
    </c:forEach>
    复选框标题：<input type="text" name="checkBoxLabel"><br/>
    <c:set var="checkOptionsNumber" value="${param.checkOptionsNumber}" scope="session"/>
    <c:forEach var="i" begin="1" end="${param.checkOptionsNumber}" step="1">
        复选框${i}value值：<input type="text" name="option${i}value">
        复选框${i}文本：<input type="text" name="option${i}Label"><br/>
    </c:forEach>
    <input type="submit" value="生成英文界面">
</form>
</body>
</html>